//
//  communityCollectionViewCell.m
//  17DianYing
//
//  Created by apple on 15/9/24.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import "communityCollectionViewCell.h"
#import "UICollectionViewCell+fun.h"


@implementation communityCollectionViewCell



-(void)setCellInfoWithNSDictionary:(NSDictionary *)communitydic;
{
    
    NSString *tittle = communitydic[@"name"];
    self.Title.text = tittle;
    
//    self.image 
    NSString *pcstr = communitydic[@"cover"];
    
    NSURL *url = [NSURL URLWithString:pcstr];

    UIImage *imgFromUrl =[[UIImage alloc]initWithData:[NSData dataWithContentsOfURL:url]];


    self.imager.image = imgFromUrl;
    
}


@end
